package com.lhys.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 资产_用户表
 * </p>
 *
 * @author 小七
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AssetUser对象", description = "资产_用户表")
public class AssetUser implements Serializable {

    private Integer id;
    @ApiModelProperty(value = "任务id，关联表task的id")
    private Integer taskId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "任务需要使用软件的类型，BS软件-1; CS软件-2")
    private Integer taskSoftType;

    @ApiModelProperty(value = "登陆帐号")
    private String loginName;

    @ApiModelProperty(value = "账号类型 1-系统内置（不能修改密码,给老师使用） 2-外部(接口同步过来的平台学生账号)")
    private Integer userType;

    @ApiModelProperty(value = "姓名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "班级主键编号")
    private Integer clazzId;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别 (1-男 2-女)")
    private Integer gender;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "部门(默认资产管理部门)")
    private String depart;

    @ApiModelProperty(value = "职位(默认资产管理员)")
    private String post;

    @ApiModelProperty(value = "用户角色")
    private String role;

    @ApiModelProperty(value = "用户生日")
    private Date birthday;

    @ApiModelProperty(value = "头像")
    private String img;

}